package com.hs.room.model.archive

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 * 案件
 */
@Entity(tableName = "opt_log")
data class OptLog(
    @PrimaryKey(autoGenerate = true)
    val localId: Long,//本地数据库主键
    @ColumnInfo
    val id: Long,//服务器返回ID
    @ColumnInfo
    val byName: String,
    @ColumnInfo
    val byID: String,
    @ColumnInfo
    val what: String,//操作类型 R.array.what
    @ColumnInfo
    val time: String,
    @ColumnInfo
    val t: Long,
    @ColumnInfo
    val img: String?,
    @ColumnInfo
    val loginType: Int,//登录类型 R.array.loginType
)
